/**
 *
 */
package com.suieqian.dto.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author win10
 */
@Data
@Accessors(chain = true)
@ApiModel("分页参数")
public class PageParam {

    @ApiModelProperty(value = "当前页")
    private Integer pageNo;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize;

    public PageParam() {
        super();
        pageNo = 1;
        pageSize = 10;
    }
}
